package com.tjetc.dao;

import com.tjetc.domain.Nclasses;
import com.tjetc.domain.NurClasses;
import com.tjetc.utils.PageInfo;

import java.sql.SQLException;
import java.util.List;

public interface NclassesDao {

    void addNur(Nclasses nclasses) throws SQLException;

    int getNurCount(int nid) throws SQLException;

    List<NurClasses> listNurClasses(PageInfo<NurClasses> pageInfo) throws SQLException;

    int getCount() throws SQLException;

    Nclasses findByIdandDate(int id, String dayOfWeekName) throws SQLException;

    int setqiandao(Nclasses nclasses) throws SQLException;

    void clearNclasses() throws SQLException;
}
